package com.rpframework.website.device.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

/**
 * 用户表
 * @author zhangli
 * @date 2016年3月24日 上午9:47:35
 */
@TableMapperAnnotation(tableName = "t_user", uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id") 
public class User extends Domain {

	private static final long serialVersionUID = 4178996028162534134L;
	
	@FieldMapperAnnotation 
	Integer id; 
	/**
	 * 房间id
	 */
	@FieldMapperAnnotation 
	Integer roomId; 
	/**
	 * 积分
	 */
	@FieldMapperAnnotation 
	Integer point; 
	/**
	 * 手机
	 */
	@FieldMapperAnnotation
	String tel; 
	/**
	 * 豆包号
	 */
	@FieldMapperAnnotation
	String dbNo; 
	/**
	 * 用户名 和手机号一样
	 */
	@FieldMapperAnnotation
	String userName; 
	/**
	 * 昵称
	 */
	@FieldMapperAnnotation
	String nickName; 
	/**
	 * 真实姓名
	 */
	@FieldMapperAnnotation
	String realName; 
	/**
	 * 头像
	 */
	@FieldMapperAnnotation
	String headImg; 
	/**
	 * 个人签名
	 */
	@FieldMapperAnnotation
	String sign; 
	/**
	 * 所属物业
	 */
	@FieldMapperAnnotation
	Integer estateId;
	/**
	 * 性别 1女 2男
	 */
	@FieldMapperAnnotation
	Integer sex;
	/**
	 * 性别 1女 2男
	 */
	@FieldMapperAnnotation
	String hobbies;
	/**
	 * 职位
	 */
	@FieldMapperAnnotation
	String job;
	public String getHobbies() {
		return hobbies;
	}
	public void setHobbies(String hobbies) {
		this.hobbies = hobbies;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public String getConstellation() {
		return constellation;
	}
	public void setConstellation(String constellation) {
		this.constellation = constellation;
	}
	/**
	 * 星座
	 */
	@FieldMapperAnnotation
	String constellation;
	/**
	 * 婚姻状态 1未婚 2已婚
	 */
	@FieldMapperAnnotation
	Integer marriage;
	/**
	 * 余额
	 */
	@FieldMapperAnnotation
	Double balance;
	/**
	 * 身份证号
	 */
	@FieldMapperAnnotation
	String cardNo; 
	/**
	 * 密码
	 */
	@FieldMapperAnnotation 
	String password; 
	/**
	 * 角色
	 */
	@FieldMapperAnnotation
	Integer roleType;
	
	/**
	 * 状态 1正常 2禁用
	 */
	@FieldMapperAnnotation
	Integer state; 
	/**
	 * 
	 */
	@FieldMapperAnnotation
	Long loginTime; 
	/**
	 * 
	 */
	@FieldMapperAnnotation
	Long lastLoginTime; 
	/**
	 * 
	 */
	@FieldMapperAnnotation
	Long readTime; 
	public Long getReadTime() {
		return readTime;
	}
	public void setReadTime(Long readTime) {
		this.readTime = readTime;
	}
	/**
	 * 
	 */
	@FieldMapperAnnotation
	String loginIp; 
	/**
	 * 
	 */
	@FieldMapperAnnotation
	String lastLoginIp; 
	/**
	 * 
	 */
	@FieldMapperAnnotation
	Long createTime; 
	/**
	 * 
	 */
	@FieldMapperAnnotation
	Long modifyTime;
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @return the tel
	 */
	public String getTel() {
		return tel;
	}
	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * @return the nickName
	 */
	public String getNickName() {
		return nickName;
	}
	/**
	 * @return the realName
	 */
	public String getRealName() {
		return realName;
	}
	/**
	 * @return the headImg
	 */
	public String getHeadImg() {
		return headImg;
	}
	/**
	 * @return the sign
	 */
	public String getSign() {
		return sign;
	}
	/**
	 * @return the estateId
	 */
	public Integer getEstateId() {
		return estateId;
	}
	/**
	 * @return the sex
	 */
	public Integer getSex() {
		return sex;
	}
	/**
	 * @return the cardNo
	 */
	public String getCardNo() {
		return cardNo;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @return the roleType
	 */
	public Integer getRoleType() {
		return roleType;
	}
	/**
	 * @return the state
	 */
	public Integer getState() {
		return state;
	}
	/**
	 * @return the loginTime
	 */
	public Long getLoginTime() {
		return loginTime;
	}
	/**
	 * @return the lastLoginTime
	 */
	public Long getLastLoginTime() {
		return lastLoginTime;
	}
	/**
	 * @return the loginIp
	 */
	public String getLoginIp() {
		return loginIp;
	}
	public Integer getMarriage() {
		return marriage;
	}
	public void setMarriage(Integer marriage) {
		this.marriage = marriage;
	}
	/**
	 * @return the lastLoginIp
	 */
	public String getLastLoginIp() {
		return lastLoginIp;
	}
	/**
	 * @return the createTime
	 */
	public Long getCreateTime() {
		return createTime;
	}
	/**
	 * @return the modifyTime
	 */
	public Long getModifyTime() {
		return modifyTime;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @param tel the tel to set
	 */
	public void setTel(String tel) {
		this.tel = tel;
	}
	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * @param nickName the nickName to set
	 */
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	/**
	 * @param realName the realName to set
	 */
	public void setRealName(String realName) {
		this.realName = realName;
	}
	/**
	 * @param headImg the headImg to set
	 */
	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}
	/**
	 * @param sign the sign to set
	 */
	public void setSign(String sign) {
		this.sign = sign;
	}
	/**
	 * @param estateId the estateId to set
	 */
	public void setEstateId(Integer estateId) {
		this.estateId = estateId;
	}
	/**
	 * @param sex the sex to set
	 */
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	/**
	 * @param cardNo the cardNo to set
	 */
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @param roleType the roleType to set
	 */
	public void setRoleType(Integer roleType) {
		this.roleType = roleType;
	}
	/**
	 * @param state the state to set
	 */
	public void setState(Integer state) {
		this.state = state;
	}
	/**
	 * @param loginTime the loginTime to set
	 */
	public void setLoginTime(Long loginTime) {
		this.loginTime = loginTime;
	}
	/**
	 * @param lastLoginTime the lastLoginTime to set
	 */
	public void setLastLoginTime(Long lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	/**
	 * @param loginIp the loginIp to set
	 */
	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}
	/**
	 * @param lastLoginIp the lastLoginIp to set
	 */
	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}
	/**
	 * @param modifyTime the modifyTime to set
	 */
	public void setModifyTime(Long modifyTime) {
		this.modifyTime = modifyTime;
	}
	public Double getBalance() {
		return balance;
	}
	public void setBalance(Double balance) {
		this.balance = balance;
	}
	public Integer getPoint() {
		return point;
	}
	public void setPoint(Integer point) {
		this.point = point;
	}
	public Integer getRoomId() {
		return roomId;
	}
	public void setRoomId(Integer roomId) {
		this.roomId = roomId;
	}
	public String getDbNo() {
		return dbNo;
	}
	public void setDbNo(String dbNo) {
		this.dbNo = dbNo;
	}
	

}
